<template>
  <div class="app-container">
    <el-form :inline="true" :model="formInline" class="demo-form-inline">
      <el-form-item label="菜单名称">
        <el-input v-model="formInline.menuname" placeholder="请输入菜单名称"></el-input>
      </el-form-item>
      <el-form-item label="菜单等级">
        <el-select v-model="formInline.menulvl" placeholder="请选择菜单等级">
          <el-option label="一级菜单" value="1"></el-option>
          <el-option label="二级菜单" value="2"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">查询</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>>

<script>
export default {
  data() {
    return {
      formInline: {
        menuname: "",
        menulvl: "",
      },
    };
  },
  methods: {
    onSubmit() {
      alert("submit!")
    },
  },
};
</script>

<style scoped>
</style>
    
